package com.imooc.exception;

import com.imooc.grace.result.ResponseStatusEnum;

/**
 * @Description : 优雅处理异常，统一封装
 * @Author : YTY
 * @Date : 2020-11-29 08:44
 */
public class GraceException {

    public static void display(ResponseStatusEnum responseStatusEnum) {

        throw new MyCustomException(responseStatusEnum);
    }
}
